#ifndef __SHOWRESULTUDP_H__
#define __SHOWRESULTUDP_H__

#include "ShowResultBase.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
 
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

class ShowResultUdp : public ShowResultBase {

public:
	ShowResultUdp();
	~ShowResultUdp();

	virtual void showRes(string msg) override;

private:
	int udp_socket_fd ;
	char buf[1024] ;
	struct sockaddr_in dest_addr;

};


#endif